export const idInfo:Array<any> = [
  {
    key: 'channel_id',
    title: '频道ID'
  },
  {
    key: 'ticket_id',
    title: '直播间ID'
  },
];


export const liveInfo:Array<any> = [
  {
    key: 'name',
    title: '直播间名称'
  },
  {
    key: 'start_time',
    title: '开播时间'
  },
  {
    key: 'end_look_time',
    title: '结束时间'
  },
];



export const rulesContent = {
  channel_id: [
    {
      required: true,
      message: '请输入频道ID',
      trigger: ['blur', 'change'],
    },
  ],
  name: [
    {
      required: true,
      message: '请输入直播间名称',
      trigger: ['blur', 'change'],
    },
  ],
  // cover: [
  //   {
  //     required: true,
  //     message: '请上传直播间封面',
  //     trigger: 'change',
  //   },
  // ],
  // nickname: [
  //   {
  //     required: true,
  //     message: '请输入主播昵称',
  //     trigger: ['blur', 'change'],
  //   },
  // ],
  start_time: [
    {
      required: true,
      message: '请输入主播开始时间',
      trigger: ['blur', 'change'],
    },
  ],
  introduction: [
    {
      required: true,
      message: '请输入主播简介',
      trigger: ['blur', 'change'],
    },
  ],
};


export const rulesGood = {
  coupon_id: [
    {
      required: true,
      message: '请选择商品',
      trigger: 'change',
    },
  ],
};


export const rulesAward = {
  sign_switch: [
    {
      required: true,
      trigger: ['blur', 'change'],
      message: '请选择签到类型',
    },
  ],
  sign_reward_switch: [
    {
      required: true,
      message: '请选择自动签到发放奖励类型',
      trigger: 'change',
    },
  ],
  look_time: [
    {
      required: true,
      trigger: ['blur', 'change'],
      message: '观看多久直播自动签到 / 分钟',
    },
  ],
  reward_balance2: [
    {
      required: true,
      trigger: ['blur', 'change'],
      message: '请输入签到奖励礼品券数量',
    },
  ],
  coupon_s_id: [
    {
      required: true,
      message: '请选择赠送优惠券',
      trigger: 'change',
    },
  ],
  red_switch: [
    {
      required: true,
      message: '请选择签到积分类型',
      trigger: 'change',
    },
  ],
  red_status_module: [
    {
      required: true,
      message: '请选择签到积分类型',
      trigger: 'change',
    },
  ],
  red_price: [
    {
      required: true,
      message: '请输入固定积分金额',
      trigger: 'change',
    },
  ],
}
